* {
    padding: 0;
    margin: 0;
}
ul,
li {
    list-style: none;
}

a {
    text-decoration: none;
    color: rgb(90, 83, 83);
}
input,
button {
    border-style: none;
    outline: none;
}
.all{
    width: 100%;
    background-color: rgb(44, 42, 44);

    .container {
        position: relative;
        width: 1200px;
        margin: auto auto;
        background-color: rgb(248, 223, 229);
        
       
        //回到头部
        .backTop {
            float: right;
            margin-top: 600px;
            // background-color: yellowgreen;
            img {
                position: fixed;
                margin-left: 50px;
                width: 60px;
                height: 80px;
                &:hover {
                    cursor: pointer;
                }
            }
        }
    
        // 头标
        .title-header {
            // position: absolute;
            background-color: rgba(92, 99, 94, 0.575);
            width: 100%;
            height: 30px;
            font-size: 13px;
            line-height: 30px;
            color: rgb(239, 224, 250);
            .location {
                // display: inline-block;
                float: left;
                width: 80px;
                height: 20px;
                // background-color: powderblue;
                margin-left: 90px;
                color: rgb(239, 224, 250);
            }
            ul {
                float: right;
                display: flex;
                margin-right: 65px;
                span {
                    margin-left: 10px;
                }
                li {
                    margin-left: 10px;
                    a {
                        color: rgb(239, 224, 250);
                        &:hover {
                            color: rgb(104, 100, 107);
                            border-bottom: rgb(52, 42, 53) 1px solid;
                        }
                    }
                }
            }
        }
        // 标题部分
        .nav-container {
            // position: absolute;
            width: 100%;
            height: 100px;
            line-height: 150px;
    
            // logo
            img {
                float: left;
                margin-top: 15px;
                margin-left: 40px;
                width: 160px;
                height: 80px;
            }
            // 导航
            ul {
                // position: relative;
    
                float: left;
                margin-top: 20px;
                margin-left: -64px;
                text-align: center;
                li {
                    position: relative;
                    float: left;
                    width: 80px;
                    height: 50px;
                    margin-right: 30px;
                    line-height: 53px;
                    .index {
                        color: #8b0eea;
                    }
                    a {
                        color: black;
                        &:hover {
                            color: #8b0eea;
                        }
                    }
                    ul {
                        position: absolute;
                        margin-left: 0px;
                        margin-top: 0px;
                        width: 100px;
                        height: 100px;
                        background-image: none;
                        z-index: 99;
    
                        li {
                            display: none;
                            &hover {
                                border: none;
                            }
                        }
                    }
    
                    &:hover {
                        border-bottom: 3px #8b0eea solid;
                        ul li {
                            display: block;
                            background-color: rgb(237, 224, 238);
                            // a {
                            //     color: whitesmoke;
                            // }
                            /* x偏移量 | y偏移量 | 阴影颜色 */
                            /* x偏移量 | y偏移量 | 阴影颜色 */
                            // box-shadow: 60px -16px teal;
    
                            /* 任意数量的阴影，以逗号分隔 */
                            box-shadow: 3px 3px rgb(236, 224, 224), 0em 0 0.4em rgb(236, 232, 235);
                        }
                    }
                }
            }
            // 搜索框
            .search-container {
                float: left;
                display: inline-block;
                // display: flex;
                width: 255px;
                height: 32px;
                padding-top: 2px;
                margin-top: 30px;
                margin-left: 30px;
                // background-color: turquoise;
                border: #43384b 2px dotted;
                border-radius: 20px 20px;
    
                input {
                    float: left;
                    width: 210px;
                    height: 30px;
                    margin-left: 10px;
                    background-color: rgb(248, 223, 229);
    
                    // background-color: rgb(249, 250, 244);
                }
                button {
                    float: left;
                    width: 30px;
                    height: 30px;
                    margin-left: -40px;
                    background-color: rgb(248, 223, 229);
    
                    img {
                        width: 20px;
                        height: 20px;
                        margin-top: 2px;
                        &:hover {
                            cursor: pointer;
                            background-color: rgb(248, 241, 248);
                        }
                    }
                }
            }
        }
    }
    // 商品详情
    .detail-wrapper {
        // margin: 50px 100px;
        width: 1000px;
        display: flex;
        margin: 50px auto;
        border: thistle 2px solid;
        .contain {
            width: 800px;
            margin: 30px auto;
            display: flex;
            .wraper-l {
                margin-right: 20px;
                .add-cart {
                    display: inline-block;
                    width: 80px;
                    height: 30px;
                    margin-bottom: 20px;
                    margin-left: 70px;
                    background-color: rgb(214, 238, 169);
                    cursor: pointer;
                    color: rgb(91, 87, 94);
                    &:hover {
                        color: rgb(235, 68, 160);
                    }
                }
                .look-cart {
                    display: inline-block;
                    width: 80px;
                    height: 30px;
                    margin-bottom: 20px;
                    margin-left: 40px;
                    background-color: rgb(214, 238, 169);
                    cursor: pointer;
                    &:hover {
                        color: rgb(235, 68, 160);
                    }
                }
                ul {
                    display: flex;
                    justify-content: space-between;
                    margin-top: 20px;
                    .active{
                       border: orangered 2px solid;
                    }
                    li {
                        margin-right: 10px;
                       
                        img {
                            width: 60px;
                            height: 60px;
                            cursor: pointer;
                        }
                    }
                }
                .show-box {
                    position: relative;
                    width: 350px;
                    height: 350px;
                    padding-left: 20px;
                    img {
                        // margin-left: 20px;
                        margin-top: 0;
                        width: 350px;
                        height:350px;
                        
                    }
                    .mask {
                        position: absolute;
                        left: 0;
                        top: 0;
                        width: 150px;
                        height: 150px;
                        background-color: rgba(250, 250, 223, 0.4);
                        pointer-events: none;
                        display: none;
                        cursor: pointer;
                    }
                }
            }
            .wraper-r {
                position: absolute;
                // margin-left: 400px;
                left: 500px;
                top: 400px;
                width: 250px;
                height: 250px;
                overflow: hidden;
    
                img {
                    position: absolute;
                    // margin-top: 400px;
                    top: 0;
                    left: 0;
                    display: none;
                }
            }
        }
        .detail-r {
            position: relative;
            margin-top: 30px;
            margin-left: -250px;
            .title {
                width: 600px;
                h2 {
                    font-size: 20px;
                    color: rgb(112, 103, 108);
                    font-weight: 700;
                }
                .pricenow {
                    display: inline-block;
                    float: left;
                    width: 100px;
                    height: 30px;
                    margin-top: 20px;
                    background-color: rgb(243, 167, 214);
                    border-radius: 13% 13%;
                    text-align: center;
                    line-height: 30px;
                }
                .priceago {
                    display: inline-block;
                    float: left;
                    margin-right: 10px;
                    width: 150px;
                    height: 30px;
                    margin-top: 20px;
                    background-color: rgb(247, 195, 234);
                    border-radius: 13% 13%;
                    text-align: center;
                    line-height: 30px;
                    text-decoration: line-through rgb(105, 86, 92);
                }
            }
            img {
                // margin-top: 20px;
                top: 0;
                left: 0;
                display: none;
            }
        }
    }
    
}
